﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SubjectList.ascx.cs" Inherits="qna.Controls.SubjectList" %>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" ShowHeader="False"
DataSourceID="ObjectDataSource1" BorderStyle="None" BorderColor="White">
    <%--<<<<<<< .mine
=======
    <DataSourceID="ObjectDataSource1" BorderStyle="None" BorderWidth="0px" 
    BorderColor="White"/>
>>>>>>> .r27--%>
    <Columns>
        <asp:TemplateField ShowHeader="False">
            <ItemTemplate>
                <asp:HyperLink ID="HyperLink1" runat="server" Text="<%# Bind('Name') %>" 
                    NavigateUrl='<%# Eval("Id", "../pages/Questions.aspx?subjects={0}") %>'></asp:HyperLink>
            </ItemTemplate>
        </asp:TemplateField>
    </Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
    InsertMethod="Insert" OldValuesParameterFormatString="original_{0}" 
    SelectMethod="GetAll" TypeName="qna.Business.Subject" UpdateMethod="Update">
    <InsertParameters>
        <asp:Parameter Name="ignorePk" Type="Boolean" />
    </InsertParameters>
    <SelectParameters>
        <asp:Parameter Name="limit" Type="Int32" />
    </SelectParameters>
    <UpdateParameters>
        <asp:Parameter Name="ignorePk" Type="Boolean" />
    </UpdateParameters>
</asp:ObjectDataSource>

